<!DOCTYPE html>
<html>
<head>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <base href="<?php echo $this->webroot; ?>">
    <!-- Apple devices fullscreen -->
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <!-- Apple devices fullscreen -->
    <meta names="apple-mobile-web-app-status-bar-style" content="black-translucent" />

    <title><?php echo __('Yonkou:: '.$title_for_layout);?></title>
    <?php
    /** Files Css */
    echo $this->Html->css(array('bootstrap.min','bootstrap-responsive.min','plugins/icheck/all','style','themes'));
    /** Files Css/Plugin */
    echo $this->Html->css(array('plugins/jquery-ui/smoothness/jquery-ui','plugins/jquery-ui/smoothness/jquery.ui.theme'));
    /**  Scripts */
    echo $this->Html->script(array('jquery.min','plugins/nicescroll/jquery.nicescroll.min.js','plugins/select2/select2.min','bootstrap.min','application.min'));
    /** jQuery UI */
    echo $this->Html->script(array('plugins/jquery-ui/jquery.ui.core.min.js','plugins/jquery-ui/jquery.ui.widget.min.js','plugins/jquery-ui/jquery.ui.mouse.min.js','plugins/jquery-ui/jquery.ui.draggable.min.js','plugins/jquery-ui/jquery.ui.resizable.min.js','plugins/jquery-ui/jquery.ui.sortable.min.js'));
    echo $this->Html->meta('favicon.ico','favicon.ico',array('type'=>'icon'));

    echo $this->fetch('css');
    echo $this->fetch('script');
    echo $this->fetch('meta');
    echo $this->Js->writeBuffer();
    ?>
</head>
<body data-layout-sidebar="fixed" data-layout-topbar="fixed" data-theme="theme-darkblue" class="theme-darkblue">
<div id="listagem">
    <div id="navigation">
        <div class="container-fluid">
            <a href="#" id="brand">YONKOU</a>
            <?php echo $this->Element('nav_top')?>
            <?php echo $this->Element('nav_user_top')?>
        </div>
    </div>
    <div class="container-fluid" id="content">
        <div id="main">
            <div class="container-fluid">
                <div class="page-header">
                    <?php echo $this->Element('page_header')?>
                </div>
                <?php echo $this->Session->flash();?>
                <?php echo $this->fetch('content');?>
            </div>
        </div>
    </div>
</div>
</body>
</html>
